{include file="public/user_header" /}

<!-- 详情模态框 -->
<div class="modal fade" id="detailModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" style="top:5%;" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">×</span>
        </button>
        <h4 class="modal-title" id="myModalLabel">详情</h4>
      </div>
      <form id="detailForm" method="post">
        <div class="modal-body" style="height: 100%;text-align: center;">
          <div class="form-group" style="text-align: center; height: 36px;">
            <label for="firstname" style="height:34px; padding-top:1.2%;" class="col-sm-3 control-label">产品名称</label>
            <div class="col-sm-9">
              <input id="detail_gName" class="form-control" readonly="readonly">
            </div>
          </div>
          <div class="form-group" style=" height: 36px;">
            <label for="firstname" style="height:34px; padding-top:1.2%;" class="col-sm-3 control-label">产品单价</label>
            <div class="col-sm-4">
              <input id="detail_gPrice" name="gName" class="form-control" readonly="readonly">
            </div>
          </div>
          <div class="form-group" style=" height: 36px;">
            <label for="firstname" style="height:34px; padding-top:1.2%;" class="col-sm-3 control-label">产品数量</label>
            <div class="col-sm-9">
              <input id="detail_gNum" name="gIntroduce" class="form-control" readonly="readonly">
            </div>
          </div>
          <div class="form-group" style=" height: 36px;">
            <label for="firstname" style="height:34px; padding-top:1.2%;" class="col-sm-3 control-label">证书编号</label>
            <div class="col-sm-9">
              <input id="detail_gAUTCode" name="gAUTCode" class="form-control" readonly="readonly">
            </div>
          </div>
          <div class="form-group" style=" height: 36px;">
            <label for="firstname" style="height:34px; padding-top:1.2%;" class="col-sm-3 control-label">生产公司</label>
            <div class="col-sm-9">
              <input id="detail_cName" name="gClass" class="form-control" readonly="readonly">
            </div>
          </div>
          <div class="form-group" style=" height: 36px;">
            <label for="firstname" style="height:34px; padding-top:1.2%;" class="col-sm-3 control-label">产地</label>
            <div class="col-sm-9">
              <input id="detail_gPlace" name="gClass" class="form-control" readonly="readonly">
            </div>
          </div>
          <div class="form-group" style=" height: 36px;">
            <label for="firstname" style="height:34px; padding-top:1.2%;" class="col-sm-3 control-label">产品质量</label>
            <div class="col-sm-9">
              <input id="detail_gQuality" name="gENV" class="form-control" readonly="readonly">
            </div>
          </div>
          <div class="form-group" style=" height: 36px;">
            <label for="firstname" style="height:34px; padding-top:1.2%;" class="col-sm-3 control-label">产品等级</label>
            <div class="col-sm-9">
              <input id="detail_gGrade" name="gSellCode" class="form-control" readonly="readonly">
            </div>
          </div>
          <div class="form-group" style=" height: 36px;">
            <label for="firstname" style="height:34px; padding-top:1.2%;" class="col-sm-3 control-label">产品介绍</label>
            <div class="col-sm-9">
              <textarea id="detail_gIntroduce" name="gSellCode" class="form-control" readonly="readonly"></textarea>
            </div>
          </div>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        </div>
      </form>
    </div>
  </div>
</div>
<!-- /详情模态框 -->

<div class="container" style=" height: 100%; width: 100%; padding: 10px 20%; margin-top: 30px; margin-bottom: 30px;">
  <form class="search-form" action="{:url('searchByCode')}" method="post">
    <div class="input-group" style="width: 100%;">
      <input type="text" id="gSellCode" name="gSellCode" class="form-control" value="{$currentText}" autocomplete="off">

      <div class="input-group-btn">
        <button type="submit" class="btn btn-warning btn-flat"><i class="fa fa-search"></i>
        </button>
      </div>
    </div>
    <!-- /.input-group -->
  </form>
</div>

<div class="container">
  <!-- Main content -->
  <section class="content">
    <div style="text-align: center;"><h1><i class="fa fa-warning text-yellow"></i> 无此商品！ </h1></div>
    <!-- /.row -->
  </section>
  <!-- /.content -->

</div>

</div>


<!-- 引入js依赖 -->
{include file="public/introduce" /}

<script>

</script>

</body>

</html>